SftTree/NET 2.0

Behavior Property, HeadersClass Class

Softel vdm, Inc.

Defines the behavior of the cells in the header area when clicked.

Syntax      HeadersClass Class (Softelvdm.SftTreeNET)

VB   

Public Property Behavior As ButtonBehaviorEnum

C#   

public ButtonBehaviorEnum Behavior { get; set; }

C++   

public: property ButtonBehaviorEnum Behavior {
        ButtonBehaviorEnum get();
        void set(ButtonBehaviorEnum value);
}

Property Value

The behavior of the cells in the header area.

ButtonBehaviorEnum

Value

Description

StayPressed

0

The button remains pressed after being clicked. Clicking it again will release the button.

BounceBack

1

The button is automatically released after being clicked.

The default value is ButtonBehaviorEnum.BounceBack.

Comments

The Behavior property defines the behavior of the cells in the header area when clicked.

Cells in the header area should be defined using a background appearance that reflects their use as a header or button (CellBaseClass.Appearance). The default appearance for all headers can be defined using the AppearanceDefault property.


Feedback / comments / error reports for this topic
© 2007 - Softel vdm, Inc. - www.softelvdm.com